﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace ChuanYe.WorkLogManagement.EF.SqlServer
{
    [Table("DepartmentInfo")]
    public class DepartmentInfo
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int DepartmentID { get; set; }


        [Required]
        [StringLength(100)]
        public string DepartmentName { get; set; }
    }
}
